﻿using B.S.NewMedical.Api.Read.DTOS;
using B.S.NewMedical.ErrorCode;
using MediatR;
using System;
using B.S.NewMedical.ErrorCode;
using B.S.NewMedical.Domain.Order;

namespace B.S.NewMedical.Api.Read.Application.Command.Order
{
    /// <summary>
    /// 问诊单分页查询命令
    /// </summary>
    public class ConsultationPageCommand : IRequest<ApiPageing<ConsultationModel>>
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        public int Index { get; set; } = 1;

        /// <summary>
        /// 页容量
        /// </summary>
        public int Size { get; set; } = 10;

        /// <summary>
        /// 患者
        /// </summary>
        public string? Patient { get; set; }
        /// <summary>
        /// 方式
        /// </summary>
        public string? Method { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public string? Source { get; set; }
        /// <summary>
        /// 问诊状态
        /// </summary>
        public string? Status { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public string? Orderstatus { get; set; }


    }
}
